import shake from './shake'

const install = function (Vue) {
  Vue.directive('shake', shake)
}

if (window.Vue) {
  window.shake = shake
  Vue.use(install) // eslint-disable-line
}

shake.install = install
export default shake
